using System;
using System.Collections.Generic;
using DapperExtensions.Mapper;
using MHI.InspectionManager.Interfaces; 

namespace MHI.InspectionManager.Data
{
	public class DevMaintenancedetailTMapper : ClassMapper<DevMaintenancedetailT>
	{
		public DevMaintenancedetailTMapper()
		{
			Table("dev_maintenancedetail_t");
			Map(f => f.Id).Column("id").Key(KeyType.Assigned);
			Map(f => f.JobId).Column("job_id");
			Map(f => f.IsDelegate).Column("is_delegate");
			Map(f => f.ContractNo).Column("contract_no");
			Map(f => f.TroubleDesc).Column("trouble_desc");
			Map(f => f.TroubleDiagnosis).Column("trouble_diagnosis");
			Map(f => f.MaintenanceContent).Column("maintenance·_content");
			Map(f => f.AcceptContent).Column("accept_content");
			Map(f => f.GmtCreated).Column("gmt_created");
			Map(f => f.PersonModified).Column("person_modified");
			Map(f => f.GmtModified).Column("gmt_modified");
			Map(f => f.StateInfo).Column("state_info");
			Map(f => f.IsUse).Column("is_use");
			Map(f => f.Version).Column("version");
		}
	}
}
